require "Require"

local SGame=Class()

function SGame:ReceiveBeginPlay()
    Err("HUD")
    UI.Uninstall()
    UI.OpenUI(self,"chat")
    self:C2SInit()
end
function SGame:ReceiveEndPlay()
    UI.Uninstall()
end
function SGame:C2SInit()
    self:GetOwningPlayerController():CInitPlayerReadyInfo(LoadPlayerID())
    Err("客户端请求刷新")
end


return SGame